package com.yunji.common.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.common.sms.dto
 * @Title: SmsCountDTO
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-10-22 15:53:22      V1.0        HuaAo       新建类
 */
@ApiModel(value = "短信验证码当天发送次数redis存储")
public class SmsCountDTO {

    @ApiModelProperty(value = "当天发送次数")
    private Integer num;

    @ApiModelProperty(value = "当天时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Long time;

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }
}